package cn.lanqiao.pet;

public class Dog extends Pet{
    public Dog(String name){
        super(name);
        System.out.println("dog 有参构造方法");
    }
    @Override
    public String bark(){
        return "汪汪";
    }
}
